package com.cyy.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * @author CYY
 * @since 2022/5/18
 */
@Configuration
//@ComponentScan({"com.cyy.dao","com.cyy.service"})
@ComponentScan(value = "com.cyy",
        excludeFilters = @ComponentScan.Filter(
                type = FilterType.ANNOTATION,
                classes = Controller.class
        )
)
public class SpringConfig {
}
